﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cxx.Entity;
using Cxx.IDAL;
using Cxx.IOC;

namespace Cxx.BLL
{
    public class CusTotalLogs
    {
        private static readonly ICusTotalLogs dal = IocManager.Instance.ResolveIntance<ICusTotalLogs>();

        public static void Insert(CusTotalLogsInfo info)
        {
            dal.Insert(info);
        }

        public static List<CusTotalLogsInfo> GetListForPage(string condition, int pageIndex, int pageSize, out int recordCount)
        {
            return dal.GetListForPage(condition, pageIndex, pageSize, out recordCount);
        }

        public static void Delete(int id)
        {
            dal.Delete(id);
        }
    }
}
